package com.quanyan.riding.constans;

/**
 * @author xian-guo
 * @email 498152332@qq.com
 * @date 2016/8/29.
 */
public class Constans {

    /**
     * 跑步等级规则类型
     */
    public static final byte RUNTYPE = 1;

    /**
     * 骑行等级规则类型
     */
    public static final byte RIDINGTYPE = 2;

    /**
     * 用户第一次登录等级为1级
     */
    public static final byte IS_FIRST_LOGIN_LEVEL = 1;

    /**
     * 生成车队口令的数量
     */
    public static final int BIKE_COMMAND= 5000;

    /**
     * 创建车队的上限
     */
    public static final int CREATE_BIKE_NUMBER= 10;

    /**
     * 总车队数量上限
     */
    public static final int ALL_BIKE_NUMBER= 1000;

    /**
     * 车队最大容量人数
     */
    public static final int MAX_BIKE_MEMBER= 50;

    /**
     * 车队创建人
     */
    public static final byte BIKE_LEADER= 1;

    /**
     * 车队普通成员
     */
    public static final byte BIKE_CUSTOMER= 0;

    /***************************---->redis key<--------**************************************/

    public static final String GET_BIKE_COMMAND= "riding_bike_command";
    public static final String RUN_USER_ID= "run_user_id";

    public static final Double RUN_KILO42=42.00;

    public static final String RUN_SYSTEM = "R";//跑步
    public static final String RIDE_SYSTEM = "Q";//骑行



    public static final Double KILO8MILEAGE = 8.0;
    public static final Long MIN60TIME = 60l;
    public static final Double KILO4MILEAGE = 4.0;
    public static final Long MIN30TIME = 30l;
    public static final Long MIN7TIME = 7l;
    /**
     * 基础拉伸
     */
    public static final Byte BASIC_STRETCHING = 1;
    /**
     * 全面拉伸
     */
    public static final Byte FULL_STRETCH = 2;
    /**
     * 亚健康舒缓类
     */
    public static final Byte SUB_HEALTH_CATEGORY = 3;
    /**
     * 跑力锻炼
     */
    public static final Byte RUNNING_EXERCISE = 4;
    /**
     * 大腿
     */
    public static final Byte THIGH = 1;
    /**
     * 小腿
     */
    public static final Byte LOWER_LEG = 2;
    public static final Double AVG_PACE = 7.0;


}
